package xyz.jangle.service;

import java.util.Map;

import xyz.jangle.model.Demo;

public interface DemoService {
	/**
	 * 
	 * @param record
	 * @return
	 */
	public Map<String, Object> selectPage(Demo record);

	/**
	 * 
	 * @param record
	 * @return
	 */
	public Map<String, Object> selectByPrimaryKey(Demo record);

	/**
	 * 
	 * @param record
	 * @return
	 */
	public Map<String, Object> insertOrUpdate(Demo record);

	/**
	 * 批量删除
	 * @param record
	 * @return
	 */
	public Map<String, Object> batchDeleteByPrimaryKey(Demo record);

	
	public Map<String, Object> deleteByPrimaryKey(Demo record);

}
